package hit.dao.serialization;

import hit.core.HITBase;
import hit.dao.DAOBase;

import java.util.List;

/**
 * A DAO that handles all Item operations by using serialization. It actually does
 * not do anything, because serialization is only done on load and close.
 */
public class SZItemDAO implements DAOBase {
	
	/**
	 * Default Constructor
	 */
	public SZItemDAO(){
		
	}
	
	/**
	 * Does nothing because the HIT will be loaded in SerializationDAO.load
	 * @return null
	 */
	@Override
	public List<HITBase> GetAll() {
		return null;
	}

	/**
	 * Does nothing because the HIT will be saved in SerializationDAO.close
	 * @param object
	 */
	@Override
	public int Create(HITBase object) {return 0;}

	/**
	 *	Does nothing because the HIT will be saved in SerializationDAO.close
	 * @param object
	 */
	@Override
	public void Remove(HITBase object) {}

	@Override
	public void Update(HITBase object) {
		// TODO Auto-generated method stub
		
	}

}
